package com.example.archivemanagement.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.example.archivemanagement.common.OperationType;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("system_record")
public class VisitRecord {
    @TableId(type = IdType.AUTO)
    private Long id;

    private OperationType operationType;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime operationDate;

    private String fileName;
}
